<?php
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
?>


<?php

//$_REQUEST['ai_start_time']  = $_REQUEST['ai_start_time'] == '' ? '' : strtotime($_REQUEST['ai_start_time']);
//$_REQUEST['ai_end_time']    = $_REQUEST['ai_end_time']   == '' ? '' : strtotime($_REQUEST['ai_end_time']);



include_once("mod-images-upload-function.php");

//设置需要搜索的表格的前缀后缀
$table = $table_Prefix . "coupon";
//设置需要搜索的表格的前缀后缀


$sql   =insert_date($table,$_REQUEST);
$query = do_query($sql) or die (mysqli_error().$sql);
mysqli_close($con);
?>




<script type="text/javascript">
    alert("输入信息已保存，点击确认返回继续操作.");
    document.location.href = "detail-list.php?sys_part=coupon";
</script>
